import App from './App'
import Vue from 'vue'
import {
	$post,
	$get
} from "@/utis/request.js"

Vue.prototype.$post = $post
Vue.prototype.$get = $get

Vue.prototype.$toast = (msg) => {
	uni.showToast({
		title: msg,
		icon: 'none'
	})
}
Vue.prototype.$loanding = (msg) => {
	uni.showLoading({
		title: msg,
		mask: true
	});
}

Vue.config.productionTip = false
App.mpType = 'app'
const app = new Vue({
	...App
})
app.$mount()